package com.ljq.rpc.common.protocol;

/**
 * 协议包
 */
public class dubboProtocol<T> {
    Long REQUEST_ID;
    int type;
    T content;

    public dubboProtocol(Long REQUEST_ID, int type, T content) {
        this.REQUEST_ID = REQUEST_ID;
        this.type = type;
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

    public Long getREQUEST_ID() {
        return REQUEST_ID;
    }

    public void setREQUEST_ID(Long REQUEST_ID) {
        this.REQUEST_ID = REQUEST_ID;
    }
}
